var jsonlistclass = new Array(
'.lss-box{',
'.lss-question-top{',
'.lss-answer-group{',
'.lss-answer-input{',
'.lss-answer-span{',
'.lss-textfield{',
'.lss-vote-button{',
'.lss-view-results{',
'#lss-links a{',
'.lss-result-feedback{',
'.lss-result-feedback-bar{',
'.lss-totalvotes-inner{'
);
function kreiraj_stil(){
    var reset = "* { margin:0; padding:0; }"+
    "#poll{ margin: 0 auto; padding: 0; text-align: left;}"+
    ".lss-answer-group{display:block;}"+
    ".lss-answer-input{display:block;float:left;width:20px;}"+
    ".lss-input-label{float:left;}"+
    ".lss-answer-span{position:relative;cursor:pointer;display:block;}"+
    ".lss-answer-other{display:block;}"+
    "#lss-links{display:block;float:left;}"+
    "#lss-links a{display:block;float:left;}"+
    ".lss-links:hover{color:#333333;text-decoration:underline}"+
    ".lss-result-group{width:100%;}"+
    ".lss-result-feedback{line-height:0;font-size:0px;}"+
    ".lss-result-feedback-bar{height:12px;line-height:0;font-size:0px;}"+
    ".lss-totalvotes-inner{}"; 
    if(jQuery.browser.msie){
        reset+=".lss-clear{clear: both; font-size:0px;line-height:0;}"; 
    }else{
        reset+=".lss-clear{clear: both; display:block;}";
    }
    jQuery('head').append("<style type='text/css'>"+reset+"</style>");    
    jQuery('head').append("<style type='text/css'>"+user_style()+"</style>");    
};
function user_style(){  //return String CSS
    var mystyle = "";
    var index = 0; 
    jQuery.each(klase_stilovi, function(styleclass, styleobject){
        mystyle += jsonlistclass[index];
        jQuery.each(styleobject, function(property,value){
            if (jQuery.browser.mozilla){
                if (property=='border-radius') property='-moz-border-radius';
            }
            if(LS_pollsetstyle!='---'){
                if((jsonlistclass[index]=='.lss-box{')&&(property=='width')){
                    var width =  value.substring(0,3);
                    value = LS_pollwidth+'px';
                }
                if((jsonlistclass[index]=='.lss-answer-span{')&&(property=='width')){
                    var width =  value.substring(0,3);
                    value = (LS_pollwidth-50)+'px';
                }
            }
            if((jsonlistclass[index]=='.lss-answer-span{')&&(property=='padding-top')&&(jQuery.browser.msie)){ 
                var fixed=parseInt(value.substring(0,value.length-2))+4;
                value = fixed+"px";
            }
            mystyle += property+":"+value+";";
        });    
        mystyle +="}"
        index++;    
    });  
    return mystyle;
}